package com.cls.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cls.common.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 短信功能表 Entity
 *
 * @author slx
 * @date 2020-12-17 11:07:59
 */
@Data
@TableName("sys_sms")
public class SysSms extends BaseEntity implements Serializable {


    /**
     *
     */
    @TableId(value = "sms_id", type = IdType.AUTO)
    private Long smsId;


    /**
     * 那个业务发送的消息，字典表
     */
    @TableField("send_source_type")
    private String sendSourceType;


    /**
     * 接收短信手机号
     */
    @TableField("receive_mobile")
    private String receiveMobile;


    /**
     * 发送时间
     */
    @TableField("send_time")
    private Date sendTime;


    /**
     * 模板代码
     */
    @TableField("template_code")
    private String templateCode;


    /**
     * json 内容
     */
    @TableField("content_json")
    private String contentJson;
    /**
     * email 为真 短信为假
     */
    @TableField("send_type")
    private Boolean sendType;
    @TableField(exist = false)
    private String text;
    @TableField(exist = false)
    private String sendTimeFrom;
    @TableField(exist = false)
    private String sendTimeTo;
}
